/**
 * Created by wangshuyi on 2017/3/2.
 */

'use strict';

// const request = require('request');
// const xml2json = require('basic-xml2json');
//
// const userCard = 'WX81017315';
// const domain = 'http://www.keepright-pos.com:7474';
//
// //基础信息
// let getVipInfo = `${domain}/LenLeWebWeixinNew/WeixinService.asmx/getVipInfo?cardCode=${userCard}`;
// //生成短号
// let buildPosCode = `${domain}/LenLeWebWeixinNew/WeixinService.asmx/buildPosCode?cardCode=${userCard}`;
// //积分查询
// let cardCurrPointQuery = `${domain}/LenLeWebWeixinNew/WeixinService.asmx/cardCurrPointQuery?cardCode=${userCard}`;
// //储值查询
// let cardCurrAmt = `${domain}/LenLeWebWeixinNew/WeixinService.asmx/cardCurrAmt?cardCode=${userCard}`;
// //礼券查询
// let getGiftInfo = `${domain}/LenLeWebWeixinNew/WeixinService.asmx/getGiftInfo?cardCode=${userCard}`;
//
// request({
//     method: 'get',
//     uri: getVipInfo,
//     json: true
// }, function(e, res, data){
//     let jsonStr = xml2json.parse(data);
//     let json = JSON.parse(jsonStr.root.content);
//     console.log(json);
// });
//

let a;

let b = !a || !a.xxx;

console.log(b);